<!doctype html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="./style/common.css">
    <link href="./style/mocha-5-2-0.min.css" rel="stylesheet">
    <title>tab dom</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        .mocha {
            position: relative;
        }

        #mocha code .comment {
            color: #1c7517;
        }
    </style>
</head>

<body>
    <p class="title">IndexDB Demo</p>
    <div id="root"></div>
    <script src="./js/domUtils.js"></script>
    <script src="./js/config.js"></script>
    <script src="../src/DBFactory.js"></script>
    <script src="./js/demo.js"></script>
    <!-- 以下为单元测试模块 -->
    <style>
        ul#mocha-stats {
            position: absolute;
            top: 20px;
            right: 20px;
        }

        div#mocha {
            background: #f5f7fa;
            margin: 0;
            padding: 20px;
        }
    </style>
    <!-- <div id="mocha" class="mocha"> </div> -->
    <script src="./js/mocha-5-2-0.js"></script>
    <script src="./js/chai-4-1-2.min.js"></script>
    <script>
        mocha.setup('bdd')
    </script>
    <script src="./js/mocha-unit.test.js"></script>
    <script>
        mocha.checkLeaks();
        mocha.run();
    </script>
</body>

</html>